<?php

namespace ORM\Dynasties2;

use Doctrine\ORM\Mapping as ORM;

/**
 * ORM\Dynasties2\Duchies
 */
class Duchies
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var string $duchyName
     */
    private $duchyName;

    /**
     * @var integer $titleHolder
     */
    private $titleHolder;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set duchyName
     *
     * @param string $duchyName
     * @return Duchies
     */
    public function setDuchyName($duchyName)
    {
        $this->duchyName = $duchyName;
        return $this;
    }

    /**
     * Get duchyName
     *
     * @return string 
     */
    public function getDuchyName()
    {
        return $this->duchyName;
    }

    /**
     * Set titleHolder
     *
     * @param integer $titleHolder
     * @return Duchies
     */
    public function setTitleHolder($titleHolder)
    {
        $this->titleHolder = $titleHolder;
        return $this;
    }

    /**
     * Get titleHolder
     *
     * @return integer 
     */
    public function getTitleHolder()
    {
        return $this->titleHolder;
    }
}